import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from "vue-router";

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueRouter);

const pages = [
    { name: 'vmess', path: '/vmess', component: () => import('./pages/vmess.vue') }
];

const router = new VueRouter({
  routes: pages,
  mode: 'hash'
});

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
